package com.itmk.student_select.service.impl;

import com.itmk.student_select.dao.StudentSelectDao;
import com.itmk.student_select.dao.impl.StudentSelectDaoImpl;
import com.itmk.student_select.entity.StudentSelectParm;
import com.itmk.student_select.entity.StudentSelectVo;
import com.itmk.student_select.service.StudentSelectService;

import java.util.List;

public class StudentSelectServiceImpl implements StudentSelectService {
    private StudentSelectDao studentSelectDao = new StudentSelectDaoImpl();
    @Override
    public List<StudentSelectVo> list(StudentSelectParm parm) {
        return studentSelectDao.list(parm);
    }

    @Override
    public int getCount(StudentSelectParm parm) {
        return studentSelectDao.getCount(parm);
    }
}
